home *** CD-ROM | disk | FTP | other *** search
- unit ObjInsp;
-
- interface
-
- uses
- Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
- StdCtrls, ExtCtrls, ComCtrls,DockForm, Grids;
-
- type
- TObjInspector = class(TDockableForm)
- Panel1: TPanel;
- Panel2: TPanel;
- ComboBox1: TComboBox;
- PageControl1: TPageControl;
- TabSheet1: TTabSheet;
- TabSheet2: TTabSheet;
- procedure Panel2Resize(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- ObjInspector: TObjInspector;
-
- implementation
-
- {$R *.DFM}
-
- procedure TObjInspector.Panel2Resize(Sender: TObject);
- begin
- with ComboBox1 do begin
- Width := Panel1.ClientWidth;
- Panel1.ClientHeight := Height;
- Top := 1;
- Left := 1;
- end;
- end;
-
- end.
-